<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BSpacer</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BSpacer">
			<h1>BSpacer</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume">BSpacer为空间件，在布局中参与尺寸的分配，其各项属性与控件元素类似。<a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"/><td><a href="#BSpacer()">BSpacer</a>();</td></tr>
				<tr><td align="right"/><td><a href="#BSpacer(const BSize&)">BSpacer</a>(const BSize& size);</td></tr>
				<tr><td align="right"/><td><a href="#BSpacer(const BSize&, Policy, Policy)">BSpacer</a>(const BSize& size, Policy widthPolicy, Policy heightPolicy);</td></tr>
				<tr><td align="right"/><td><a href="#BSpacer(int, int)">BSpacer</a>(int width, int height);</td></tr>
				<tr><td align="right"/><td><a href="#BSpacer(int, int, Policy, Policy)">BSpacer</a>(int width, int height, Policy widthPolicy, Policy heightPolicy);</td></tr>
				<tr><td align="right"/><td><a href="#~BSpacer()">~BSpacer</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setSize(int, int)">setSize</a>(int width, int height);</td></tr>
				<tr><td align="right">void </td><td><a href="#setSize(const BSize&)">setSize</a>(const BSize& size);</td></tr>
				<tr><td align="right">BSize </td><td><a href="#size()">size</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setRect(int, int, int, int)">setRect</a>(int x, int y, int width, int height);</td></tr>
				<tr><td align="right">void </td><td><a href="#setRect(const BRect&)">setRect</a>(const BRect& rect);</td></tr>
				<tr><td align="right">const BRect&amp; </td><td><a href="#rect()">rect</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setWidthHint(int)">setWidthHint</a>(int widthHint);</td></tr>
				<tr><td align="right">int </td><td><a href="#widthHint()">widthHint</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setHeightHint(int)">setHeightHint</a>(int heightHint);</td></tr>
				<tr><td align="right">int </td><td><a href="#heightHint()">heightHint</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSizeHint(int, int)">setSizeHint</a>(int hintWidth, int hintHeight);</td></tr>
				<tr><td align="right">void </td><td><a href="#setSizeHint(const BSize&)">setSizeHint</a>(const BSize& hintSize);</td></tr>
				<tr><td align="right">const BSize&amp; </td><td><a href="#sizeHint()">sizeHint</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setFixedWidth(int)">setFixedWidth</a>(int fixedWidth);</td></tr>
				<tr><td align="right">int </td><td><a href="#fixedWidth()">fixedWidth</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setFixedHeight(int)">setFixedHeight</a>(int fixedHeight);</td></tr>
				<tr><td align="right">int </td><td><a href="#fixedHeight()">fixedHeight</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setFixedSize(int, int)">setFixedSize</a>(int fixedWidth, int fixedHeight);</td></tr>
				<tr><td align="right">void </td><td><a href="#setFixedSize(const BSize&)">setFixedSize</a>(const BSize& fixedSize);</td></tr>
				<tr><td align="right">virtual BSize </td><td><a href="#fixedSize()">fixedSize</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMinWidth(int)">setMinWidth</a>(int minWidth);</td></tr>
				<tr><td align="right">int </td><td><a href="#minWidth()">minWidth</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMinHeight(int)">setMinHeight</a>(int minHeight);</td></tr>
				<tr><td align="right">int </td><td><a href="#minHeight()">minHeight</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMinSize(int, int)">setMinSize</a>(int minWidth, int minHeight);</td></tr>
				<tr><td align="right">void </td><td><a href="#setMinSize(const BSize&)">setMinSize</a>(const BSize& minSize);</td></tr>
				<tr><td align="right">const BSize&amp; </td><td><a href="#minSize()">minSize</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMaxWidth(int)">setMaxWidth</a>(int maxWidth);</td></tr>
				<tr><td align="right">int </td><td><a href="#maxWidth()">maxWidth</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMaxHeight(int)">setMaxHeight</a>(int maxHeight);</td></tr>
				<tr><td align="right">int </td><td><a href="#maxHeight()">maxHeight</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMaxSize(int, int)">setMaxSize</a>(int maxWidth, int maxHeight);</td></tr>
				<tr><td align="right">void </td><td><a href="#setMaxSize(const BSize&)">setMaxSize</a>(const BSize& maxSize);</td></tr>
				<tr><td align="right">const BSize&amp; </td><td><a href="#maxSize()">maxSize</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSizePolicy(Policy, Policy)">setSizePolicy</a>(Policy widthPolicy, Policy heightPolicy);</td></tr>
				<tr><td align="right">void </td><td><a href="#setSizePolicy(const BSizePolicy&)">setSizePolicy</a>(const BSizePolicy& sizePolicy);</td></tr>
				<tr><td align="right">const BSizePolicy&amp; </td><td><a href="#sizePolicy()">sizePolicy</a>() const;</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2><p>BSpacer为空间件，在布局中参与尺寸的分配，其各项属性与控件元素类似。</p><h4>信号表：</h4><table>
					<tr><td>Signal_Resized</td><td>当尺寸变化时发出，值为：BSize size。</td></tr>
					<tr><td>Signal_Moved</td><td>当位置变动时发出， 值为：BPoint pos。</td></tr></table>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BSpacer()">
				<h3>BSpacer();</h3><p>构建一个空间件。</p>
			</div>
			<div id="BSpacer(const BSize&)">
				<h3>BSpacer(const BSize&amp; size);</h3><p>构建一个空间件，size指定其基础尺寸。</p>
			</div>
			<div id="BSpacer(const BSize&, Policy, Policy)">
				<h3>BSpacer(const BSize&amp; size, Policy widthPolicy, Policy heightPolicy);</h3><p>构建一个空间件，size指定其基础值，widthPolicy指定其宽度策略，heightPolicy指定其高度策略。</p>
			</div>
			<div id="BSpacer(int, int)">
				<h3>BSpacer(int width, int height);</h3><p>构建一个空间件，width, height指定其基础尺寸。</p>
			</div>
			<div id="BSpacer(int, int, Policy, Policy)">
				<h3>BSpacer(int width, int height, Policy widthPolicy, Policy heightPolicy);</h3><p>构建一个空间件，width, height指定其基础值，widthPolicy指定其宽度策略，heightPolicy指定其高度策略。</p>
			</div>
			<div id="~BSpacer()">
				<h3>~BSpacer();</h3><p>析构一个空间件。</p>
			</div>
			<div id="setSize(int, int)">
				<h3>void setSize(int width, int height);</h3><p>设置空间件的尺寸。</p>
			</div>
			<div id="setSize(const BSize&)">
				<h3>void setSize(const BSize&amp; size);</h3><p>设置空间件的尺寸。</p>
			</div>
			<div id="size()">
				<h3>BSize size() const;</h3><p>获得空间件的尺寸。</p>
			</div>
			<div id="setRect(int, int, int, int)">
				<h3>void setRect(int x, int y, int width, int height);</h3><p>设置空间件的矩形区域，同于setRect(BRect(x, y, width, height))。</p>
			</div>
			<div id="setRect(const BRect&)">
				<h3>void setRect(const BRect&amp; rect);</h3><p>设置空间件的矩形区域。</p>
			</div>
			<div id="rect()">
				<h3>const BRect&amp; rect() const;</h3><p>获得空间件的矩形区域。</p>
			</div>
			<div id="setWidthHint(int)">
				<h3>void setWidthHint(int widthHint);</h3><p>设置空间件的基础宽度。</p>
			</div>
			<div id="widthHint()">
				<h3>int widthHint() const;</h3><p>获得空间件的基础宽度。</p>
			</div>
			<div id="setHeightHint(int)">
				<h3>void setHeightHint(int heightHint);</h3><p>设置空间件的基础高度。</p>
			</div>
			<div id="heightHint()">
				<h3>int heightHint() const;</h3><p>设置空间件的基础高度。</p>
			</div>
			<div id="setSizeHint(int, int)">
				<h3>void setSizeHint(int hintWidth, int hintHeight);</h3><p>设置空间件的基础尺寸。</p>
			</div>
			<div id="setSizeHint(const BSize&)">
				<h3>void setSizeHint(const BSize&amp; hintSize);</h3><p>设置空间件的基础尺寸，当尺寸策略中有Policy_Preferred时此值会被使用。</p>
			</div>
			<div id="sizeHint()">
				<h3>const BSize&amp; sizeHint() const;</h3><p>获得空间件的基础尺寸。</p>
			</div>
			<div id="setFixedWidth(int)">
				<h3>void setFixedWidth(int fixedWidth);</h3><p>设置固定宽度值，当宽度策略中有Policy_Fixed时此值会被使用。</p>
			</div>
			<div id="fixedWidth()">
				<h3>int fixedWidth() const;</h3><p>获得固定宽度值。</p>
			</div>
			<div id="setFixedHeight(int)">
				<h3>void setFixedHeight(int fixedHeight);</h3><p>设置固定高度值，当高度策略中有Policy_Fixed时此值会被使用。</p>
			</div>
			<div id="fixedHeight()">
				<h3>int fixedHeight() const;</h3><p>获得固定高度值。</p>
			</div>
			<div id="setFixedSize(int, int)">
				<h3>void setFixedSize(int fixedWidth, int fixedHeight);</h3><p>设置固定尺寸值，同于setFixedSize(BSize(fixedWidth, fixedHeight))。</p>
			</div>
			<div id="setFixedSize(const BSize&)">
				<h3>void setFixedSize(const BSize&amp; fixedSize);</h3><p>设置固定尺寸值，当尺寸策略中有Policy_Fixed时此值会被使用。</p>
			</div>
			<div id="fixedSize()">
				<h3>virtual BSize fixedSize() const;</h3><p>获得固定尺寸值。</p>
			</div>
			<div id="setMinWidth(int)">
				<h3>void setMinWidth(int minWidth);</h3><p>设置最小宽度限制。</p>
			</div>
			<div id="minWidth()">
				<h3>int minWidth() const;</h3><p>获得最小宽度限制。</p>
			</div>
			<div id="setMinHeight(int)">
				<h3>void setMinHeight(int minHeight);</h3><p>设置最小高度限制。</p>
			</div>
			<div id="minHeight()">
				<h3>int minHeight() const;</h3><p>获得最小高度限制。</p>
			</div>
			<div id="setMinSize(int, int)">
				<h3>void setMinSize(int minWidth, int minHeight);</h3><p>设置最小尺寸限制，同于setMinSize(BSize(minWidth, minHeight))。</p>
			</div>
			<div id="setMinSize(const BSize&)">
				<h3>void setMinSize(const BSize&amp; minSize);</h3><p>设置最小尺寸限制，使得此空间件在尺寸不超过此限制。</p>
			</div>
			<div id="minSize()">
				<h3>const BSize&amp; minSize() const;</h3><p>获得最小尺寸限制。</p>
			</div>
			<div id="setMaxWidth(int)">
				<h3>void setMaxWidth(int maxWidth);</h3><p>设置最大宽度限制。</p>
			</div>
			<div id="maxWidth()">
				<h3>int maxWidth() const;</h3><p>获得最大宽度限制。</p>
			</div>
			<div id="setMaxHeight(int)">
				<h3>void setMaxHeight(int maxHeight);</h3><p>设置最大高度限制。</p>
			</div>
			<div id="maxHeight()">
				<h3>int maxHeight() const;</h3><p>获得最大高度限制。</p>
			</div>
			<div id="setMaxSize(int, int)">
				<h3>void setMaxSize(int maxWidth, int maxHeight);</h3><p>设置最大尺寸限制，同于setMaxSize(BSize(maxWidth, maxHeight))。</p>
			</div>
			<div id="setMaxSize(const BSize&)">
				<h3>void setMaxSize(const BSize&amp; maxSize);</h3><p>设置最大尺寸限制，使得此空间件的尺寸不大于此限制。</p>
			</div>
			<div id="maxSize()">
				<h3>const BSize&amp; maxSize() const;</h3><p>获得最大尺寸限制。</p>
			</div>
			<div id="setSizePolicy(Policy, Policy)">
				<h3>void setSizePolicy(Policy widthPolicy, Policy heightPolicy);</h3><p>设置尺寸调整策略，同于setSizePolicy(BSizePolicy(widthPolicy, heightPolicy))。</p>
			</div>
			<div id="setSizePolicy(const BSizePolicy&)">
				<h3>void setSizePolicy(const BSizePolicy&amp; sizePolicy);</h3><p>设置尺寸调整策略。</p>
			</div>
			<div id="sizePolicy()">
				<h3>const BSizePolicy&amp; sizePolicy() const;</h3><p>获得尺寸调整策略。</p>
			</div>
		</div>
	</body>
</html>